﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JXT.PrimaryKey.Batman.Domain.Models;

namespace JXT.PrimaryKey.Batman.Domain.UserSystem.Models
{
    [Serializable]
    public class Role : EntityBase<int>
    {
        public string Name { get; set; }

        public string Summary { get; set; }

        public bool IsSystem { get; set; }

        public IEnumerable<Authority> Authorities { get; set; }

        public static readonly int GeustRoleId = 3;

        public static readonly int UserRoleId = 2;

        public static readonly int AdminRoleId = 1;
    }
}
